﻿using System;
using System.Data;
using System.Collections;

/// <summary>
/// Summary description for tblTransferDataBKI
/// Created By : CX
/// Created Date : Wednesday, April 20, 2011
/// </summary>
/// 
namespace CE.Transfer
{

    public class TransferBKI
    {
        public TransferBKI()
        {	//TODO: Add constructor logic here
            ClearFields();
        }

        private Int64 _id = 0;
        private string _user_id = String.Empty;
        private string _que_no = String.Empty;
        private decimal _que_seq;
        private string _ref_no = String.Empty;
        private string _eff_date = String.Empty;
        private string _sum_ins = String.Empty;
        private string _risk = String.Empty;
        private string _garage = String.Empty;
        private string _car_type = String.Empty;
        private string _car_use = String.Empty;
        private string _make = String.Empty;
        private string _model = String.Empty;
        private string _car_name = String.Empty;
        private string _car_year = String.Empty;
        private string _ncb = String.Empty;
        private string _deduct = String.Empty;
        private string _deduct_lib = String.Empty;
        private string _drv_flag = String.Empty;
        private string _drv_year = String.Empty;
        private string _comp_req = String.Empty;
        private string _package_name = String.Empty;
        private string _package_code = String.Empty;
        private string _package_seq = String.Empty;
        private string _plan_seq = String.Empty;
        private string _sub_plan = String.Empty;
        private string _vol_gross = String.Empty;
        private string _vol_total = String.Empty;
        private string _comp_gross = String.Empty;
        private string _comp_total = String.Empty;
        private string _chassis = String.Empty;
        private string _engine = String.Empty;
        private string _plate_no = String.Empty;
        private string _plate_jw = String.Empty;
        private string _drv1_title = String.Empty;
        private string _drv1_name = String.Empty;
        private string _drv1_address1 = String.Empty;
        private string _drv1_address2 = String.Empty;
        private string _drv1_province = String.Empty;
        private string _drv1_amphur = String.Empty;
        private string _drv1_zip = String.Empty;
        private string _drv1_home_tel = String.Empty;
        private string _drv1_office_tel = String.Empty;
        private string _drv1_mobile_tel = String.Empty;
        private string _drv1_fax_tel = String.Empty;
        private string _drv1_occupation = String.Empty;
        private DateTime _drv1_birth = new DateTime();
        private string _drv2_title = String.Empty;
        private string _drv2_name = String.Empty;
        private string _drv2_address1 = String.Empty;
        private string _drv2_address2 = String.Empty;
        private string _drv2_province = String.Empty;
        private string _drv2_amphur = String.Empty;
        private string _drv2_zip = String.Empty;
        private string _drv2_home_tel = String.Empty;
        private string _drv2_office_tel = String.Empty;
        private string _drv2_mobile_tel = String.Empty;
        private string _drv2_fax_tel = String.Empty;
        private string _drv2_occupation = String.Empty;
        private DateTime _drv2_birth = new DateTime();
        private string _cus1_title = String.Empty;
        private string _cus1_name = String.Empty;
        private string _cus1_address1 = String.Empty;
        private string _cus1_address2 = String.Empty;
        private string _cus1_province = String.Empty;
        private string _cus1_amphur = String.Empty;
        private string _cus1_zip = String.Empty;
        private string _cus1_home_tel = String.Empty;
        private string _cus1_office_tel = String.Empty;
        private string _cus1_mobile_tel = String.Empty;
        private string _cus1_fax_tel = String.Empty;
        private string _cus1_occupation = String.Empty;
        private DateTime _cus1_birth = new DateTime();
        private string _cus2_title = String.Empty;
        private string _cus2_name = String.Empty;
        private string _cus2_address1 = String.Empty;
        private string _cus2_address2 = String.Empty;
        private string _cus2_province = String.Empty;
        private string _cus2_amphur = String.Empty;
        private string _cus2_zip = String.Empty;
        private string _cus2_home_tel = String.Empty;
        private string _cus2_office_tel = String.Empty;
        private string _cus2_mobile_tel = String.Empty;
        private string _cus2_fax_tel = String.Empty;
        private string _cus2_occupation = String.Empty;
        private DateTime _cus2_birth = new DateTime();
        private string _ben_name = String.Empty;
        private string _ben_tel = String.Empty;
        private string _sent_type = String.Empty;
        private string _sent_to = String.Empty;
        private string _drv1_id = String.Empty;
        private string _drv1_id_type = String.Empty;
        private string _drv2_id = String.Empty;
        private string _drv2_id_type = String.Empty;
        private string _cus1_id = String.Empty;
        private string _cus1_id_type = String.Empty;
        private string _cus2_id = String.Empty;
        private string _cus2_id_type = String.Empty;
        private object _fr_date;
        private object _to_date;
        private string _sent_name = String.Empty;
        private string _sent_address = String.Empty;
        private string _sent_tel = String.Empty;
        private string _color = String.Empty;
        private string _body = String.Empty;
        private string _cus1_gender = String.Empty;
        private string _cus2_gender = String.Empty;
        private string _drv1_gender = String.Empty;
        private string _drv2_gender = String.Empty;
        private string _body_code = String.Empty;
        private string _color_code = String.Empty;
        private string _print_cus = String.Empty;
        private string _drv1_license_no = String.Empty;
        private string _drv1_license_type = String.Empty;
        private string _drv1_jw_license_no = String.Empty;
        private object _drv1_frm;
        private object _drv1_expire;
        private string _drv1_age = String.Empty;
        private string _drv2_license_no = String.Empty;
        private string _drv2_license_type = String.Empty;
        private string _drv2_jw_license_no = String.Empty;
        private object _drv2_frm;
        private object _drv2_expire;
        private string _drv2_age = String.Empty;


        public Int64 id
        {
            get { return _id; }
            set { _id = value; }
        }
        public string user_id
        {
            get { return _user_id; }
            set { _user_id = value; }
        }

        public string que_no
        {
            get { return _que_no; }
            set { _que_no = value; }
        }

        public decimal que_seq
        {
            get { return _que_seq; }
            set { _que_seq = value; }
        }

        public string ref_no
        {
            get { return _ref_no; }
            set { _ref_no = value; }
        }

        public string eff_date
        {
            get { return _eff_date; }
            set { _eff_date = value; }
        }

        public string sum_ins
        {
            get { return _sum_ins; }
            set { _sum_ins = value; }
        }

        public string risk
        {
            get { return _risk; }
            set { _risk = value; }
        }

        public string garage
        {
            get { return _garage; }
            set { _garage = value; }
        }

        public string car_type
        {
            get { return _car_type; }
            set { _car_type = value; }
        }

        public string car_use
        {
            get { return _car_use; }
            set { _car_use = value; }
        }

        public string make
        {
            get { return _make; }
            set { _make = value; }
        }

        public string model
        {
            get { return _model; }
            set { _model = value; }
        }

        public string car_name
        {
            get { return _car_name; }
            set { _car_name = value; }
        }

        public string car_year
        {
            get { return _car_year; }
            set { _car_year = value; }
        }

        public string ncb
        {
            get { return _ncb; }
            set { _ncb = value; }
        }

        public string deduct
        {
            get { return _deduct; }
            set { _deduct = value; }
        }

        public string deduct_lib
        {
            get { return _deduct_lib; }
            set { _deduct_lib = value; }
        }

        public string drv_flag
        {
            get { return _drv_flag; }
            set { _drv_flag = value; }
        }

        public string drv_year
        {
            get { return _drv_year; }
            set { _drv_year = value; }
        }

        public string comp_req
        {
            get { return _comp_req; }
            set { _comp_req = value; }
        }

        public string package_name
        {
            get { return _package_name; }
            set { _package_name = value; }
        }

        public string package_code
        {
            get { return _package_code; }
            set { _package_code = value; }
        }

        public string package_seq
        {
            get { return _package_seq; }
            set { _package_seq = value; }
        }

        public string plan_seq
        {
            get { return _plan_seq; }
            set { _plan_seq = value; }
        }

        public string sub_plan
        {
            get { return _sub_plan; }
            set { _sub_plan = value; }
        }

        public string vol_gross
        {
            get { return _vol_gross; }
            set { _vol_gross = value; }
        }

        public string vol_total
        {
            get { return _vol_total; }
            set { _vol_total = value; }
        }

        public string comp_gross
        {
            get { return _comp_gross; }
            set { _comp_gross = value; }
        }

        public string comp_total
        {
            get { return _comp_total; }
            set { _comp_total = value; }
        }

        public string chassis
        {
            get { return _chassis; }
            set { _chassis = value; }
        }

        public string engine
        {
            get { return _engine; }
            set { _engine = value; }
        }

        public string plate_no
        {
            get { return _plate_no; }
            set { _plate_no = value; }
        }

        public string plate_jw
        {
            get { return _plate_jw; }
            set { _plate_jw = value; }
        }

        public string drv1_title
        {
            get { return _drv1_title; }
            set { _drv1_title = value; }
        }

        public string drv1_name
        {
            get { return _drv1_name; }
            set { _drv1_name = value; }
        }

        public string drv1_address1
        {
            get { return _drv1_address1; }
            set { _drv1_address1 = value; }
        }

        public string drv1_address2
        {
            get { return _drv1_address2; }
            set { _drv1_address2 = value; }
        }

        public string drv1_province
        {
            get { return _drv1_province; }
            set { _drv1_province = value; }
        }

        public string drv1_amphur
        {
            get { return _drv1_amphur; }
            set { _drv1_amphur = value; }
        }

        public string drv1_zip
        {
            get { return _drv1_zip; }
            set { _drv1_zip = value; }
        }

        public string drv1_home_tel
        {
            get { return _drv1_home_tel; }
            set { _drv1_home_tel = value; }
        }

        public string drv1_office_tel
        {
            get { return _drv1_office_tel; }
            set { _drv1_office_tel = value; }
        }

        public string drv1_mobile_tel
        {
            get { return _drv1_mobile_tel; }
            set { _drv1_mobile_tel = value; }
        }

        public string drv1_fax_tel
        {
            get { return _drv1_fax_tel; }
            set { _drv1_fax_tel = value; }
        }

        public string drv1_occupation
        {
            get { return _drv1_occupation; }
            set { _drv1_occupation = value; }
        }

        public DateTime drv1_birth
        {
            get { return _drv1_birth; }
            set { _drv1_birth = value; }
        }

        public string drv2_title
        {
            get { return _drv2_title; }
            set { _drv2_title = value; }
        }

        public string drv2_name
        {
            get { return _drv2_name; }
            set { _drv2_name = value; }
        }

        public string drv2_address1
        {
            get { return _drv2_address1; }
            set { _drv2_address1 = value; }
        }

        public string drv2_address2
        {
            get { return _drv2_address2; }
            set { _drv2_address2 = value; }
        }

        public string drv2_province
        {
            get { return _drv2_province; }
            set { _drv2_province = value; }
        }

        public string drv2_amphur
        {
            get { return _drv2_amphur; }
            set { _drv2_amphur = value; }
        }

        public string drv2_zip
        {
            get { return _drv2_zip; }
            set { _drv2_zip = value; }
        }

        public string drv2_home_tel
        {
            get { return _drv2_home_tel; }
            set { _drv2_home_tel = value; }
        }

        public string drv2_office_tel
        {
            get { return _drv2_office_tel; }
            set { _drv2_office_tel = value; }
        }

        public string drv2_mobile_tel
        {
            get { return _drv2_mobile_tel; }
            set { _drv2_mobile_tel = value; }
        }

        public string drv2_fax_tel
        {
            get { return _drv2_fax_tel; }
            set { _drv2_fax_tel = value; }
        }

        public string drv2_occupation
        {
            get { return _drv2_occupation; }
            set { _drv2_occupation = value; }
        }

        public DateTime drv2_birth
        {
            get { return _drv2_birth; }
            set { _drv2_birth = value; }
        }

        public string cus1_title
        {
            get { return _cus1_title; }
            set { _cus1_title = value; }
        }

        public string cus1_name
        {
            get { return _cus1_name; }
            set { _cus1_name = value; }
        }

        public string cus1_address1
        {
            get { return _cus1_address1; }
            set { _cus1_address1 = value; }
        }

        public string cus1_address2
        {
            get { return _cus1_address2; }
            set { _cus1_address2 = value; }
        }

        public string cus1_province
        {
            get { return _cus1_province; }
            set { _cus1_province = value; }
        }

        public string cus1_amphur
        {
            get { return _cus1_amphur; }
            set { _cus1_amphur = value; }
        }

        public string cus1_zip
        {
            get { return _cus1_zip; }
            set { _cus1_zip = value; }
        }

        public string cus1_home_tel
        {
            get { return _cus1_home_tel; }
            set { _cus1_home_tel = value; }
        }

        public string cus1_office_tel
        {
            get { return _cus1_office_tel; }
            set { _cus1_office_tel = value; }
        }

        public string cus1_mobile_tel
        {
            get { return _cus1_mobile_tel; }
            set { _cus1_mobile_tel = value; }
        }

        public string cus1_fax_tel
        {
            get { return _cus1_fax_tel; }
            set { _cus1_fax_tel = value; }
        }

        public string cus1_occupation
        {
            get { return _cus1_occupation; }
            set { _cus1_occupation = value; }
        }

        public DateTime cus1_birth
        {
            get { return _cus1_birth; }
            set { _cus1_birth = value; }
        }

        public string cus2_title
        {
            get { return _cus2_title; }
            set { _cus2_title = value; }
        }

        public string cus2_name
        {
            get { return _cus2_name; }
            set { _cus2_name = value; }
        }

        public string cus2_address1
        {
            get { return _cus2_address1; }
            set { _cus2_address1 = value; }
        }

        public string cus2_address2
        {
            get { return _cus2_address2; }
            set { _cus2_address2 = value; }
        }

        public string cus2_province
        {
            get { return _cus2_province; }
            set { _cus2_province = value; }
        }

        public string cus2_amphur
        {
            get { return _cus2_amphur; }
            set { _cus2_amphur = value; }
        }

        public string cus2_zip
        {
            get { return _cus2_zip; }
            set { _cus2_zip = value; }
        }

        public string cus2_home_tel
        {
            get { return _cus2_home_tel; }
            set { _cus2_home_tel = value; }
        }

        public string cus2_office_tel
        {
            get { return _cus2_office_tel; }
            set { _cus2_office_tel = value; }
        }

        public string cus2_mobile_tel
        {
            get { return _cus2_mobile_tel; }
            set { _cus2_mobile_tel = value; }
        }

        public string cus2_fax_tel
        {
            get { return _cus2_fax_tel; }
            set { _cus2_fax_tel = value; }
        }

        public string cus2_occupation
        {
            get { return _cus2_occupation; }
            set { _cus2_occupation = value; }
        }

        public DateTime cus2_birth
        {
            get { return _cus2_birth; }
            set { _cus2_birth = value; }
        }

        public string ben_name
        {
            get { return _ben_name; }
            set { _ben_name = value; }
        }

        public string ben_tel
        {
            get { return _ben_tel; }
            set { _ben_tel = value; }
        }

        public string sent_type
        {
            get { return _sent_type; }
            set { _sent_type = value; }
        }

        public string sent_to
        {
            get { return _sent_to; }
            set { _sent_to = value; }
        }

        public string drv1_id
        {
            get { return _drv1_id; }
            set { _drv1_id = value; }
        }

        public string drv1_id_type
        {
            get { return _drv1_id_type; }
            set { _drv1_id_type = value; }
        }

        public string drv2_id
        {
            get { return _drv2_id; }
            set { _drv2_id = value; }
        }

        public string drv2_id_type
        {
            get { return _drv2_id_type; }
            set { _drv2_id_type = value; }
        }

        public string cus1_id
        {
            get { return _cus1_id; }
            set { _cus1_id = value; }
        }

        public string cus1_id_type
        {
            get { return _cus1_id_type; }
            set { _cus1_id_type = value; }
        }

        public string cus2_id
        {
            get { return _cus2_id; }
            set { _cus2_id = value; }
        }

        public string cus2_id_type
        {
            get { return _cus2_id_type; }
            set { _cus2_id_type = value; }
        }

        public object fr_date
        {
            get { return _fr_date; }
            set { _fr_date = value; }
        }

        public object to_date
        {
            get { return _to_date; }
            set { _to_date = value; }
        }

        public string sent_name
        {
            get { return _sent_name; }
            set { _sent_name = value; }
        }

        public string sent_address
        {
            get { return _sent_address; }
            set { _sent_address = value; }
        }

        public string sent_tel
        {
            get { return _sent_tel; }
            set { _sent_tel = value; }
        }

        public string color
        {
            get { return _color; }
            set { _color = value; }
        }

        public string body
        {
            get { return _body; }
            set { _body = value; }
        }

        public string cus1_gender
        {
            get { return _cus1_gender; }
            set { _cus1_gender = value; }
        }

        public string cus2_gender
        {
            get { return _cus2_gender; }
            set { _cus2_gender = value; }
        }

        public string drv1_gender
        {
            get { return _drv1_gender; }
            set { _drv1_gender = value; }
        }

        public string drv2_gender
        {
            get { return _drv2_gender; }
            set { _drv2_gender = value; }
        }

        public string body_code
        {
            get { return _body_code; }
            set { _body_code = value; }
        }

        public string color_code
        {
            get { return _color_code; }
            set { _color_code = value; }
        }

        public string print_cus
        {
            get { return _print_cus; }
            set { _print_cus = value; }
        }

        public string drv1_license_no
        {
            get { return _drv1_license_no; }
            set { _drv1_license_no = value; }
        }

        public string drv1_license_type
        {
            get { return _drv1_license_type; }
            set { _drv1_license_type = value; }
        }

        public string drv1_jw_license_no
        {
            get { return _drv1_jw_license_no; }
            set { _drv1_jw_license_no = value; }
        }

        public object drv1_frm
        {
            get { return _drv1_frm; }
            set { _drv1_frm = value; }
        }

        public object drv1_expire
        {
            get { return _drv1_expire; }
            set { _drv1_expire = value; }
        }

        public string drv1_age
        {
            get { return _drv1_age; }
            set { _drv1_age = value; }
        }

        public string drv2_license_no
        {
            get { return _drv2_license_no; }
            set { _drv2_license_no = value; }
        }

        public string drv2_license_type
        {
            get { return _drv2_license_type; }
            set { _drv2_license_type = value; }
        }

        public string drv2_jw_license_no
        {
            get { return _drv2_jw_license_no; }
            set { _drv2_jw_license_no = value; }
        }

        public object drv2_frm
        {
            get { return _drv2_frm; }
            set { _drv2_frm = value; }
        }

        public object drv2_expire
        {
            get { return _drv2_expire; }
            set { _drv2_expire = value; }
        }

        public string drv2_age
        {
            get { return _drv2_age; }
            set { _drv2_age = value; }
        }


        private void ClearFields()
        {
            _id = 0;
            _user_id = String.Empty;
            _que_no = String.Empty;
            _que_seq = 0;
            _ref_no = String.Empty;
            _eff_date = String.Empty;
            _sum_ins = String.Empty;
            _risk = String.Empty;
            _garage = String.Empty;
            _car_type = String.Empty;
            _car_use = String.Empty;
            _make = String.Empty;
            _model = String.Empty;
            _car_name = String.Empty;
            _car_year = String.Empty;
            _ncb = String.Empty;
            _deduct = String.Empty;
            _deduct_lib = String.Empty;
            _drv_flag = String.Empty;
            _drv_year = String.Empty;
            _comp_req = String.Empty;
            _package_name = String.Empty;
            _package_code = String.Empty;
            _package_seq = String.Empty;
            _plan_seq = String.Empty;
            _sub_plan = String.Empty;
            _vol_gross = String.Empty;
            _vol_total = String.Empty;
            _comp_gross = String.Empty;
            _comp_total = String.Empty;
            _chassis = String.Empty;
            _engine = String.Empty;
            _plate_no = String.Empty;
            _plate_jw = String.Empty;
            _drv1_title = String.Empty;
            _drv1_name = String.Empty;
            _drv1_address1 = String.Empty;
            _drv1_address2 = String.Empty;
            _drv1_province = String.Empty;
            _drv1_amphur = String.Empty;
            _drv1_zip = String.Empty;
            _drv1_home_tel = String.Empty;
            _drv1_office_tel = String.Empty;
            _drv1_mobile_tel = String.Empty;
            _drv1_fax_tel = String.Empty;
            _drv1_occupation = String.Empty;
            _drv1_birth = new DateTime();
            _drv2_title = String.Empty;
            _drv2_name = String.Empty;
            _drv2_address1 = String.Empty;
            _drv2_address2 = String.Empty;
            _drv2_province = String.Empty;
            _drv2_amphur = String.Empty;
            _drv2_zip = String.Empty;
            _drv2_home_tel = String.Empty;
            _drv2_office_tel = String.Empty;
            _drv2_mobile_tel = String.Empty;
            _drv2_fax_tel = String.Empty;
            _drv2_occupation = String.Empty;
            _drv2_birth = new DateTime();
            _cus1_title = String.Empty;
            _cus1_name = String.Empty;
            _cus1_address1 = String.Empty;
            _cus1_address2 = String.Empty;
            _cus1_province = String.Empty;
            _cus1_amphur = String.Empty;
            _cus1_zip = String.Empty;
            _cus1_home_tel = String.Empty;
            _cus1_office_tel = String.Empty;
            _cus1_mobile_tel = String.Empty;
            _cus1_fax_tel = String.Empty;
            _cus1_occupation = String.Empty;
            _cus1_birth = new DateTime();
            _cus2_title = String.Empty;
            _cus2_name = String.Empty;
            _cus2_address1 = String.Empty;
            _cus2_address2 = String.Empty;
            _cus2_province = String.Empty;
            _cus2_amphur = String.Empty;
            _cus2_zip = String.Empty;
            _cus2_home_tel = String.Empty;
            _cus2_office_tel = String.Empty;
            _cus2_mobile_tel = String.Empty;
            _cus2_fax_tel = String.Empty;
            _cus2_occupation = String.Empty;
            _cus2_birth = new DateTime();
            _ben_name = String.Empty;
            _ben_tel = String.Empty;
            _sent_type = String.Empty;
            _sent_to = String.Empty;
            _drv1_id = String.Empty;
            _drv1_id_type = String.Empty;
            _drv2_id = String.Empty;
            _drv2_id_type = String.Empty;
            _cus1_id = String.Empty;
            _cus1_id_type = String.Empty;
            _cus2_id = String.Empty;
            _cus2_id_type = String.Empty;
            _fr_date = new DateTime();
            _to_date = new DateTime();
            _sent_name = String.Empty;
            _sent_address = String.Empty;
            _sent_tel = String.Empty;
            _color = String.Empty;
            _body = String.Empty;
            _cus1_gender = String.Empty;
            _cus2_gender = String.Empty;
            _drv1_gender = String.Empty;
            _drv2_gender = String.Empty;
            _body_code = String.Empty;
            _color_code = String.Empty;
            _print_cus = String.Empty;
            _drv1_license_no = String.Empty;
            _drv1_license_type = String.Empty;
            _drv1_jw_license_no = String.Empty;
            _drv1_frm = new DateTime();
            _drv1_expire = new DateTime();
            _drv1_age = String.Empty;
            _drv2_license_no = String.Empty;
            _drv2_license_type = String.Empty;
            _drv2_jw_license_no = String.Empty;
            _drv2_frm = new DateTime();
            _drv2_expire = new DateTime();
            _drv2_age = String.Empty;
        }
    }
}



